
import layout from '@/views/deploy/module/Layout'
export default [
  {
    path: '/deploy',
    name: 'deploy',
    component: () => import('@/views/deploy/lis'),
    affiliation: 'main',
    meta: { title: '感认知类服务', icon: 'icon6', name: 'deploy' },
  },
  {
    path: '/deploy/detail',
    name: 'deploydetail',
    component: () => import('@/views/deploy/detail'),
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon6', name: 'deploy' },
  },
  {
    path: '/deploy',
    name: 'deploy',
    component: layout,
    // affiliation: 'main',
    meta: { title: '模型部署', icon: 'icon6', name: 'deploy' },
    children: [
      {
        path: 'code',
        name: 'deploycode',
        component: () => import('@/views/deploy/code'),
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "deploy"
        }
      },
      {
        path: 'file',
        name: 'deployfile',
        component: () => import('@/views/deploy/file'),
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "deploy"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/deploy/metrics'),
        name: 'deploymetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "deploy"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/deploy/log'),
        name: 'deploylog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "deploy"
        }
      },
      {
        path: 'ssh',
        component: () => import('@/views/deploy/webssh'),
        name: 'ssh',
        meta: {
          title: 'ssh',
          icon: 'nav-menu-icon1',
          affiliation: "notebook"
        }
      },
    ]
  },
]
